if SERVER then
	AddCSLuaFile("shared.lua")
end

SWEP.HoldType = "shotgun"

if CLIENT then
	SWEP.PrintName = "MP5"
	SWEP.Slot = 2
end

SWEP.Base = "weapon_gun_base"
SWEP.Primary.Recoil	= 0.8
SWEP.Primary.Damage = 10
SWEP.Primary.Delay = 0.08
SWEP.Primary.MaxCone = 0.04
SWEP.Primary.Cone = 0.03
SWEP.Primary.MinCone = 0.004
SWEP.Primary.ClipSize = 30
SWEP.Primary.Automatic = true
SWEP.Primary.DefaultClip = 30
SWEP.Primary.ClipMax = 60
SWEP.Primary.Ammo = "SMG1"
SWEP.Knockback = 275

SWEP.ViewModel = "models/weapons/v_smg_mp5.mdl"
SWEP.WorldModel	= "models/weapons/w_smg_mp5.mdl"

SWEP.Primary.Sound = Sound("Weapon_MP5Navy.Single")

SWEP.IronSightsPos = Vector(4.519, -4.755, 1.919)
SWEP.IronSightsAng = Vector(0, 0, 0)